﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Netfraction.ShareManager
{
    public class VFSFileNode : VFSNode
    {
        private long mSize;
        private string mRootHash;

        public VFSFileNode(VFSNode parent, string name, long size, DateTime lastWriteTime, string rootHash) : base(parent, name, lastWriteTime)
        {
            this.mSize = size;
            this.mRootHash = rootHash;
        }

        public long Size
        {
            get { return mSize; }
            set { mSize = value; }
        }

        public string RootHash
        {
            get { return mRootHash; }
            set { mRootHash = value; }
        }
    }
}
